home *** CD-ROM | disk | FTP | other *** search
- At 11:40 PM 3/9/98 -0500, you wrote:
- >How about:
- >if lower$(x$)="hello" then blah blah
- > Giark
-
-
- Visual Basic's SELECT CASE statement has nothing to do with upper or lower
- case... what it does is
- replace "if..then..else.." statements. Here's another example..
-
- --AMOS--
- line input "How old are you?";Age
- if Age >10 then print "You are less than 10 years old."
- if Age =21 then print "Hey!! Now you can drink alcohol in the U.S.!!"
- if Age >22 then print "WOW, You're OVER 21!!!"
- --end--
-
- --VB--
- line input "how old are you?;Age
- SELECT CASE Age
- CASE < 10
- print "You are less than 10 years old."
- CASE = 21
- print "Hey!! Now you can drink alcohol in the U.S.!!"
- CASE > 22
- print "WOW, You're OVER 21!!!"
- END SELECT
- --end--
- ----------------ICQ# 1860019-------------------
- ------------VB5-Learning-Edition---------------
- -------"To Transcendence and BEYOND!!!"--------
- --Original Art, stories, & all original minds--
- ------- http://www.radiks.net/skid/ -----------
- -----------------------------------------------
-
-